/****************************************************************************
*
* Description: Sink base interface
* Module: 'sink.h'
* Created at: 24.06.06 17:02:38 UTC
*
* $Revision$
*
****************************************************************************/
#pragma once

#if !defined(__STORAGE_SINK_H__)
#define __STORAGE_SINK_H__

#include <common/exception.h>

namespace storage {

DEFINE_NEW_ERROR(invalid_sink);

/* Data sink interface.  */
struct sink
{
	/* Write data from storage to destination.  */
    virtual void write() = 0;
};

} /* End of storage.  */

#endif  /* End of __STORAGE_SINK_H__.  */
